package service.impl;

import entity.Userdebils;
import mapper.UserdebilsMapper;
import org.springframework.stereotype.Component;
import service.UserdeblisService;

import javax.annotation.Resource;

@Component
public class UserdeblisServiceimpl implements UserdeblisService {
    @Resource
    UserdebilsMapper userdebilsMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return userdebilsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Userdebils record) {
        return userdebilsMapper.insert(record);
    }

    @Override
    public int insertSelective(Userdebils record) {
        return userdebilsMapper.insertSelective(record);
    }

    @Override
    public Userdebils selectByPrimaryKey(Integer id) {
        return userdebilsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Userdebils record) {
        return userdebilsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Userdebils record) {
        return userdebilsMapper.updateByPrimaryKey(record);
    }
}
